package xian.woniuxy.h_static.b;

class Person {
    public int id;
    public static String name;

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}

public class App {
    public static void main(String[] args) {
        Person p = new Person();
        Person p2 = new Person();

        p.id = 1;
        p.name = "andy";

        p2.id = 2;
        p2.name = "eason";

        Person.name = "cindy";

        System.out.println(p);
        System.out.println(p2);
        System.out.println(Person.name);

    }
}
